home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / src / bin / crayola / common / ui.h < prev   
C/C++ Source or Header  |  1992-12-31  |  560b  |  26 lines

  1. #ifndef UI_H
  2. #define UI_H
  3.  
  4. /* Stop listening to user events */
  5. void uiFreeze();
  6.  
  7. /* Resume listening to user events */
  8. void uiThaw();
  9.  
  10. /* Returns nonzero if we are doing the named thing, zero otherwise */
  11. int uiGet();
  12. int uiSet();
  13. int uiSetAll();
  14. int uiEliminateColor();
  15.  
  16. /* Update the color display on the ui */
  17. void uiChangeColor(ColorA *color);
  18.  
  19. /* Get the color from the ui */
  20. void uiCurrentColor(ColorA *color);
  21.  
  22. /* Ask the user a question with two possible responses */
  23. int uiQuery(char *ques1, char *ques2, char *ques3, char *res1, char *res2);
  24.  
  25. #endif
  26.